vscodecommentshortcut

BasicEditing;AddLineComment,Ctrl+KCtrl+C·editor.action.addCommentLine;RemoveLineComment,Ctrl+KCtrl+U·editor.action.removeCommentLine;ToggleLine ...,Addlinecomment.Ctrl+KCtrl+U.Removelinecomment.Ctrl+/.Togglelinecomment.Shift+Alt+A.Toggleblockcomment.Alt+Z.Togglewordwrap.Navigation.Ctrl+ ...,YoucanfoldallblockcommentswithFoldAllBlockComments(Ctrl+KCtrl+/).Selectcurrentline.KeyboardShortcut:Ctrl...

Visual Studio Code Key Bindings

Basic Editing ; Add Line Comment, Ctrl+K Ctrl+C · editor.action.addCommentLine ; Remove Line Comment, Ctrl+K Ctrl+U · editor.action.removeCommentLine ; Toggle Line ...

keyboard-shortcuts

Add line comment. Ctrl+K Ctrl+U. Remove line comment. Ctrl+/. Toggle line comment. Shift+Alt+A. Toggle block comment. Alt+Z. Toggle word wrap. Navigation. Ctrl+ ...

Visual Studio Code Tips and Tricks

You can fold all block comments with Fold All Block Comments (Ctrl+K Ctrl+/). Select current line. Keyboard Shortcut: Ctrl+L. Navigate to beginning and end of ...

How to Comment Multiple Lines in VS Code

2022年11月2日 — Select the desired lines of code and then use Ctrl + / to comment them out in VS Code. Not clear yet? Let me go in detail. Comment out a block ...

Comment out code

2023年8月30日 — Use the cmd + / key binding on the selected code. These methods can be used to comment and uncomment sections of code. In C# files, additional ...

How to comment multiple lines in Visual Studio Code?

2015年12月16日 — The keyboard shortcut to comment multiple in Windows is shift + alt + A . Share.

Is there a "quick documentation" shortcut for VS code?

2018年1月26日 — The best I've found is cmd + shift + space for mac.

How to Comment in VS Code

Changing the comment key binds in VS Code · 1. Open the command input. Windows: Ctrl + Shift + P; Mac: Command + Shift + P · 2. Type in keyboard and select  ...